
import { Component } from 'react' ;

import {render} from 'react-dom';

import Header from './../component/hearder.Component' ;

import Router from './../component/CustomRouter';

import connect from './../redux/connect';

export default class Movie extends Component{
    constructor(){
        super();
    }
    render() {
        const { routes } = this.props;
        return (
            <div>
                <Header {...this.props}/>
                <Router routers={routes} />
            </div>
        );
    }
}